package com.mail.dubbo.mapper;

import com.mail.model.db.SmsCouponProductRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 优惠券和产品的关系表 Mapper 接口
 * </p>
 *
 * @author WJZ
 * @since 2022-06-20
 */
public interface SmsCouponProductRelationMapper extends BaseMapper<SmsCouponProductRelation> {
@Delete("delete from sms_coupon_product_relation where coupon_id= #{id}")
    void deleteByCouponId(@Param("id") Long id);
}
